package com.malie.myspringboot.nacos;

import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfigCenterDemo {
 /*   @NacosValue(value = "${flag}", autoRefreshed = true)
    private String flag1;
    @NacosValue(value = "${name}", autoRefreshed = true)
    private String name;

    @GetMapping("/nacosdemo")
    public String test() {
        System.out.println(flag1);
        System.out.println(name);
        return name;
    }*/
}
